﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Xyz.Service.DataTransferObjects
{
    [DataContract]
    [KnownType(typeof(AgentDTO))]
    [KnownType(typeof(MemberDTO))]
    public class CustomerDTO
    {
        [DataMember]
        public int CustomerId { get; set; }

        [DataMember]
        public string UserName { get; set; }

        [DataMember]
        public string Password { get; set; }

        [DataMember]
        public int RoleId { get; set; }

        [DataMember]
        public string FirstName { get; set; }

        [DataMember]
        public string LastName { get; set; }

        [DataMember]
        public string Gender { get; set; }

        [DataMember]
        public DateTime DateOfBirth { get; set; }

        //[DataMember]
        //public List<BookingDTO> Bookings { get; set; }
    }
}
